<?php
namespace app\admin\validate;

use think\Validate;

/**
 * 站点信息
 * Class AdminUser
 * @package app\admin\validate
 */
class Setup extends Validate
{
    protected $rule = [
        'name'          => 'require',
        'title'         => 'require',
        'copyright'     => 'require',
    ];

    protected $message = [
        'name.require'      => '请输入网站名称',
        'title.require'     => '请输入网站标题',
        'copyright.require' => '请输入版权信息',
    ];
}